home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / StartupTools / SlowReset.readme < prev    next >
Text File  |  1996-09-26  |  4KB  |  87 lines

  1. Short:    Delays resets to finish write operations
  2. Author:   marco@cosmos-l.gun.de (Marco Krause)
  3. Uploader: olio@informatik.uni-bremen.de (Oliver Oster)
  4. Type:     util/boot
  5.  
  6. This program is for all those, who couldn`t resist pressing the well known
  7. three keys too early and then couldn`t find some of their partitions, because
  8. the system was not yet ready with writing. :)
  9.  
  10. People who don`t have LED`s connected to every hd (for what reason ever), will
  11. find some use in SlowReset. They don`t have to wait some seconds before reset
  12. any longer, while not seeing, whether some drives are still working or not.
  13.  
  14. That`s where SlowReset starts it`s work. A Reset-Handler is installed, which
  15. does following things in case of a reset:
  16.  
  17. 1. Waiting, until the last write operation is past at least 2 seconds. This
  18.    can only be reached by patching the Write()-function. Some viruscheckers
  19.    might rumor here, so don`t worry (be happy!).
  20.    If SlowReset is being terminated and another program has patched Write(),
  21.    SlowReset can`t remove it`s patch and will tell You about it.
  22.  
  23. 2. An ACTION_FLUSH and an update-command is sent to every unit.
  24.  
  25. 3. When datatypes.library is installed (OS3), a soundfile can be played.
  26.  
  27. 4. The screen can be faded to white...
  28.  
  29. 5. ... and can be faded to black. (When both options are used, it`s kind of a
  30.    flash-effect!)
  31.  
  32. 6. If a soundfile is played, wait for it to finish!
  33.  
  34. 7. Telling the system that SlowReset has finished work. If there aren`t any
  35.    other Reset-Handler, the reset is being initiated.
  36.  
  37. -----------------------------------------------------------------------------
  38.  
  39. Dies Programm ist für alle, die schonmal etwas vorschnell einen Reset ausge-
  40. führt haben, und danach evtl. ihre Partition nicht mehr wiedergefunden haben,
  41. weil das System noch mitten beim Schreiben war. :)
  42. Aber auch all diejenigen, die nicht für alle Laufwerke in ihrem System eine
  43. sichtbare LED haben, werden SlowReset sicherlich nützlich finden. Zumindest
  44. nervt es mich immer, weil ich vor einem Reset nicht sehen kann, ob noch Drives
  45. aktiv sind.
  46.  
  47. Hier kommt nun SlowReset zum Einsatz. Es wird ein ResetHandler installiert,
  48. der bei einem Reset folgende Operationen in angegebenen Reihenfolge
  49. durchführt:
  50.  
  51. 1. Solange warten, bis die letzte Write-Operation mindestens 2 Sekunden her
  52.    ist. Dazu muß die Write-Funktion gepatcht werden. Wer einen Viruschecker
  53.    installiert hat, dürfte hier evtl. eine Meldung bekommen.
  54.    Wird SlowReset beendet und ein anderes Programm hat inzwischen Write()
  55.    gepatcht, so wird der User mit einem Requester darauf hingewiesen. Um
  56.    SlowReset zu beenden, ist es noetig das fremde Programm zu deaktivieren.
  57.  
  58. 2. Senden eines ACTION_FLUSH, sowie eines Update-Kommandos an alle Devices.
  59.  
  60. 3. Falls die datatypes.library installiert ist, wird ein Soundfile im
  61.    Hintergrund abgespielt. (Optional)
  62.  
  63. 4. Weißes Aufblenden des Bildschirms. (Optional)
  64.  
  65. 5. Der Bildschirm fadet nach Schwarz aus. (Optional)
  66.  
  67. 6. Falls ein Soundfile noch aktiv ist, auf Beendigung warten.
  68.  
  69. 7. Bestätigung an das System, daß SlowReset seine Tätigkeit beendet hat, und
  70.    falls nicht noch andere ResetHandler aktiv sind, ein Reset ausgelöst
  71.    werden kann.
  72.  
  73.  
  74. ============================= Archive contents =============================
  75.  
  76. Original  Packed Ratio    Date     Time    Name
  77. -------- ------- ----- --------- --------  -------------
  78.      628     274 56.3% 20-Jun-95 18:58:42  Slowreset.info
  79.     8268    5252 36.4% 20-Jun-95 18:42:10 +SlowReset
  80.    10622    4733 55.4% 20-Jun-95 19:25:36 +SlowReset.guide
  81.      468     223 52.3% 20-Jun-95 18:56:46 +SlowReset.guide.info
  82.      938     483 48.5% 20-Jun-95 18:59:14 +SlowReset.info
  83.    10051    4403 56.1% 20-Jun-95 19:25:52 +SlowResetE.guide
  84.      468     226 51.7% 20-Jun-95 18:56:46 +SlowResetE.guide.info
  85. -------- ------- ----- --------- --------
  86.    31443   15594 50.4% 22-Jun-95 12:04:36   7 files
  87.